// 导入封装的axios
import axios from "../utils/http";
// 导入封装的接口地址
import * as baseURL from "../api/url";
// 登录接口
export const loginAPI = (data) => {
    return axios({

        url: baseURL.login_url,
        method: "post",
        data,

    });
};
export const registerAPI = (data) => {
    return axios({
        url:baseURL.Register_url,
        method:"post",
        data,
    })
}